package service.impl;

import bean.Users;
import dao.UsersDao;
import dao.impl.UsersDaoimpl;
import utils.DruidUtils;

public class UsersServiceimpl extends DruidUtils implements UsersDao {
    @Override
    public Users isUserExist(String username, String password) {

        UsersDaoimpl usersDaoimpl = new UsersDaoimpl();
        Users user = usersDaoimpl.isUserExist(username, password);
        return user;

    }
}
